package com.xpsoft.oa.model.project;

import com.google.gson.annotations.Expose;
import com.xpsoft.oa.model.system.AppUser;

/**
 * ProjectDesignReg Base Java Bean, base class for the.oa.model, mapped directly
 * to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten.
 * 
 * TODO: add class/table comments
 */
public class ProjectDesignReg extends com.xpsoft.core.model.BaseModel {

	@Expose
	protected Long id;
	@Expose
	protected Project project;
	@Expose
	protected AppUser registerUser;
	@Expose
	protected java.util.Date createtime;
	protected AppUser createUser;

	/**
	 * Default Empty Constructor for class ProjectDesignReg
	 */
	public ProjectDesignReg() {
		super();
	}

	/**
	 * Default Key Fields Constructor for class ProjectDesignReg
	 */
	public ProjectDesignReg(Long in_id) {
		this.setId(in_id);
	}

	/**
	 * * @return Long
	 * 
	 * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	public Long getId() {
		return this.id;
	}

	/**
	 * Set the id
	 */
	public void setId(Long aValue) {
		this.id = aValue;
	}

	/**
	 * * @return java.util.Date
	 * 
	 * @hibernate.property column="createtime" type="java.util.Date" length="19"
	 *                     not-null="false" unique="false"
	 */
	public java.util.Date getCreatetime() {
		return this.createtime;
	}

	/**
	 * Set the createtime
	 */
	public void setCreatetime(java.util.Date aValue) {
		this.createtime = aValue;
	}

	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}

	public AppUser getRegisterUser() {
		return registerUser;
	}

	public void setRegisterUser(AppUser registerUser) {
		this.registerUser = registerUser;
	}

	public AppUser getCreateUser() {
		return createUser;
	}

	public void setCreateUser(AppUser createUser) {
		this.createUser = createUser;
	}

}
